package org.ldh.dao;

import org.ldh.domain.BookType;

import java.util.List;

/**
 * 图书类别的持久层接口
 */
public interface BookTypeDao {
    //查询所有
    List<BookType> findAll();
    //根据id查询
    BookType findById(String bookTypeId);
    //保存
    void save(BookType bookType);
    //修改
    void update(BookType bookType);
    //删除
    void delete(String bookTypeId);
}
